package com.njdj.gps.kernel.dao.impl;

import java.util.List;
import java.util.Map;

import com.njdj.gps.common.page.PageProperty;
import com.njdj.gps.kernel.dao.impl.BaseDaoImpl;
import com.njdj.gps.kernel.dao.ISeTaskDao;
import com.njdj.gps.kernel.entity.SeTask;

/**
 * @Description:实现类
 * @author harry
 * @version 1.0
 */
public class SeTaskDaoImpl extends BaseDaoImpl<SeTask> implements ISeTaskDao {

	public int getSplitTaskViewCount(PageProperty pp) {
		Integer count = (Integer) getSqlMapClientTemplate().queryForObject("getSplitTaskViewCount", pp.getParamMap());
		return count.intValue();
	}

	public List<SeTask> listSplitTaskView(PageProperty pp) {
		return this.getSqlMapClientTemplate().queryForList("listSplitTaskView", pp.getParamMap());
	}

	public List<SeTask> listLastModel(Map<String, Object> param) {
		return this.getSqlMapClientTemplate().queryForList("listLastModel", param);
	}

}
